class Comment extends IdeaAttribute { 
    String body
    Date createdOn = new Date()

    static hasMany = [replies:Comment] 
    static belongsTo = [inReplyTo:Comment]

	
	static constraints = {
		body(maxSize:4000)
	}
}	
